home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 / Programming Windows 95.iso / code / CHAP20 / CALLER.RC < prev    next >
Encoding:
Text File  |  1996-01-01  |  638 b   |  22 lines

  1. #include "caller.h"
  2.  
  3. MAIN MENU
  4.      {
  5.      POPUP "&Allocator"
  6.           {
  7.           MENUITEM "&Create",  IDM_CREATE
  8.           MENUITEM "&Destroy", IDM_DESTROY
  9.           MENUITEM SEPARATOR
  10.           MENUITEM "QueryInterface IID_IUnknown", IDM_IUNKNOWN
  11.           MENUITEM "QueryInterface IID_IMalloc",  IDM_IMALLOC
  12.           MENUITEM "QueryInterface IID_IMarshal", IDM_IMARSHAL
  13.           }
  14.  
  15.      POPUP "&Memory"
  16.           {
  17.           MENUITEM "&Allocate (IMalloc)", IDM_ALLOCATE_CUSTOM
  18.           MENUITEM "&Allocate (malloc)",  IDM_ALLOCATE_DEFAULT
  19.           MENUITEM "&Free",               IDM_FREE
  20.           }
  21.      }
  22.